home *** CD-ROM | disk | FTP | other *** search
- #include "includes.h"
- #include "defines.h"
-
- void help()
- {
- printf("%s version %s\n",iam,(char *)VERSION);
- printf("server options\n");
- printf(" %s [-Q|-d] [-z] [-f] [-m num] [-w dir] [-t port] [-P passwd]\n",iam);
- printf("\n");
- printf(" -Q quiet (for inittab) -d daemonize -z random order\n");
- printf(" -m num use different mp3 player: -P passwd\n");
- for (qq=0;strlen(mp3player[qq].player)!=0;++qq) printf (" %d %s\n",qq,mp3player[qq].player);
- printf(" -f use futaba display also\n");
- printf(" -w dir use dir as mp3 directory instead of %s\n",mp3directory);
- printf(" -t port accept connections on port instead of port %d\n",port);
- printf("\n");
- printf("\n");
- printf("client options\n");
- printf("%s [-i host] [-t port] {-q|-p|-c|-n|-b|-r|-T}\n",iam);
- printf("\n");
- printf(" -i host connect to host (default localhost) -t port (default %d)\n",PORT);
- printf(" -q stop -n next -b back\n");
- printf(" -p pause -c continue (unpause)\n");
- printf(" -r restart current title -T query current title\n");
- }
-